<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Index</title>
</head>
<body>
<h2>SingleFile</h2>
<form enctype="multipart/form-data" id="file-up-load" th:action="@{/singleFile}" method="post">
    <input type="file" name="file"/>
    <button form="file-up-load" type="submit">UpLoad</button>
</form>
<h2>MultiFiles</h2>
<form id="multiFiles-up-load" enctype="multipart/form-data" method="post" th:action="@{/multiFiles}">
    <input type="file" name="files" multiple="multiple"/>
    <button form="multiFiles-up-load" type="submit">UpLoad</button>
</form>
</body>
</html>